<template>
  <el-switch :disabled="value.data.attribute.disabled" v-model="data" :active-color="value.data.attribute['active-color']" :inactive-color="value.data.attribute['inactive-color']" :active-value="value.data.attribute['active-value']" :inactive-value="value.data.attribute['inactive-value']" :active-text="value.data.attribute['active-text']" :inactive-text="value.data.attribute['inactive-text']" :active-icon-class="value.data.attribute['active-icon-class']" :inactive-icon-class="value.data.attribute['inactive-icon-class']" v-iedit>
  </el-switch>
</template>
<script type="text/javascript">
export default {
  props: {
    value: [Object, Array],
  },
  data() {
    return {
      data: ""
    }
  }
}

</script>
<style type="css/text" lang="scss">
</style>
